package com.google.gdata.data.douban;

/**
 * Created by IntelliJ IDEA.
 * User: huangzhongkun
 * Date: 11-3-22
 * Time: 上午1:21
 */

import com.google.gdata.data.BaseEntry;
import com.google.gdata.data.ExtensionDescription;
import com.google.gdata.data.ExtensionProfile;

@ExtensionDescription.Default(
     nsUri = "http://www.w3.org/2005/Atom",
     nsAlias = "",
     localName = "entry")
public class EventEntry extends BaseEntry<EventEntry>{

    public EventEntry(){
        super();
    }

    public EventEntry(BaseEntry baseEntry){
        super(baseEntry);
    }

    @Override
    public void declareExtensions(ExtensionProfile extProfile) {
        super.declareExtensions(extProfile);

        extProfile.declareAdditionalNamespace(Namespaces.gNs);
        extProfile.declareAdditionalNamespace(Namespaces.doubanNs);
        extProfile.declare(EventEntry.class,Attribute.class);
    }
}
